// 头部大盒子
.selectedHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    margin-bottom: 25px;
    cursor: pointer;

    // 头部搜索盒子
    .selectedSearch {
        width: 580px;
        height: 80px;

        // 搜索框下主题
        .selectedSearch_theme {
            width: 50%;
            margin: 0 auto;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            color: #666666;
            margin-top: 15px;
            font-size: 12px;
        }
    }

    // 头部日历盒子
    .selectedCalendar {
        width: 260px;
        height: 75px;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #f1f1f1;
        // background: rgb(246, 246, 247);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
        text-align: center;

        .Calendar_left {
            width: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .Calendar_right {
            width: 50%;
        }
    }
}

// 轮播图盒子
.CarouselBox {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

// 轮播图图片
.CarouselBoxImg {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

// 左右箭头
.left_hover,
.right_hover {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba($color: #000000, $alpha: 0.5);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    font-size: 20px;
    top: 40%;
    z-index: 999;
}

.right_hover {
    right: 20px;
}

.left_hover {
    left: 20px;
}

/* 轮播滑块 */
.carousel-box {
    position: relative;
    overflow: hidden;
    padding: 25px 0;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;

    .carousel-wrapper {
        display: flex;
        transition: transform 0.5s ease;

        img {
            margin-right: 20px;
        }
    }

    .carousel-image:hover {
        animation: carouselName 1s infinite;
    }

    @keyframes carouselName {
        0% {
            transform: translateY(0);
            /* 初始状态：不偏移 */
        }

        100% {
            transform: translateY(-5px);
            /* 中间状态：向上偏移10像素 */
        }
    }
}

.leftSlider,
.rightSlider {
    position: absolute;
    top: 40px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    background: rgba($color: #fff, $alpha: 0.9);
    border-radius: 50%;
    text-align: center;
    top: 55px;
}

.leftSlider {
    left: 5px;
}

.rightSlider {
    right: 5px;
}

/* 今日推荐 */
.RecommendBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;

    .RecommendFestival {
        display: flex;
        justify-content: space-around;
        align-items: center;

        .festival_li {
            padding: 8px 17px;
            box-sizing: border-box;
            background: #f3f4f7;
            margin-left: 20px;
            font-size: 13px;
            border-radius: 17px;
        }

        .festival_li:hover {
            color: #1261ff;
        }

    }
}

// 今日推荐下展示效果
.CreatePoster {
    width: 100%;
    height: 365px;
    display: flex;
    cursor: pointer;

    .CreatePoster_left {
        width: 185px;
        height: 300px;
        padding-top: 20px;
        margin-right: 52px;
        position: relative;
        float: left;

        div:nth-child(1) {
            width: 100%;
            height: 156px;
            border: 1px solid #e6ebed;
            border-radius: 8px;
            text-align: center;
            padding-top: 20%;
            box-sizing: border-box;

            h4 {
                margin-top: 15px;
            }
        }

        div:nth-child(1):hover {
            transition: transform 2s ease;
            transform: translateY(-3px);
            box-shadow: 0 0 15px rgba($color: #848383, $alpha: 0.4);
        }

        img {
            width: 100%;
            height: 99px;
            border-radius: 8px;
            position: absolute;
            bottom: 0;
        }

        img:hover {
            transition: transform 1s ease;
            transform: translateY(-2px);
            box-shadow: 0 5px 10px 0 rgba($color: #888888, $alpha: 0.5);
        }
    }

    .CreatePoster_template {
        width: 100%;
        position: relative;
        overflow: hidden;
        padding-top: 20px;
        height: 365px;

        .CreatePoster_right {
            width: 1865px; // 一张图片185x8张 +1张写查看更多内容的 +8个向右移25px
            display: flex;
            height: 350px;
            transition: transform 0.8s ease;

            .CreatePoster_right_div {
                position: relative;
                width: 185px;
                height: 280px;
                margin-right: 25px;
                border-radius: 10px;

                .CreatePoster_right_layer {
                    position: absolute;
                    bottom: 5px;
                    left: 10px;
                    width: 40px;
                    height: 25px;
                    line-height: 25px;
                    text-align: center;
                    font-size: 14px;
                    color: #fff;
                    background: rgba($color: #201f1f, $alpha: 0.5);
                }

                &:hover .CreatePoster_right_layer {
                    display: none;
                }

                .CreatePoster_right_masking {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 185px;
                    height: 280px;
                    color: #918d8d;
                    background: rgba($color:#636363, $alpha: 0.5);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 10px;
                    display: none;

                    p {
                        width: 75%;
                        text-align: center;
                        line-height: 40px;
                        background: #fff;
                        border-radius: 20px;
                    }
                }

                &:hover .CreatePoster_right_masking {
                    display: block;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .CreatePoster_right_content {
                    width: 100%;
                    height: 50px;
                    display: none;
                    background: #fff;
                    padding: 5px;
                    box-sizing: border-box;
                    border-radius: 0 0 10px 10px;
                    box-shadow: 0 5px 5px rgb(199, 199, 199);
                }

                img {
                    width: 185px;
                    height: 280px;
                    border-radius: 10px;


                }

                img:hover {
                    border-radius: 10px 10px 0 0;
                }
            }
        }

        .CreatePoster_right_div:hover {
            transition: transform 1s ease;
            transform: translateY(-10px);
            box-shadow: 0 5px 5px rgb(199, 199, 199);

            &:hover .CreatePoster_right_content {
                display: block;
                border-radius: 0 0 10px 10px;
            }
        }
    }
}

// 点击加载更多样式
.CreatePoster_right_more {
    width: 185px;
    height: 280px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: space-between;
    align-items: center;

    .CreatePoster_right_more_icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 20px;
        background: #f1f1f1;
        border-radius: 50%;
        text-align: center;
    }

    .CreatePoster_right_more_icon:hover {
        color: #fff;
        background: #1261ff;
    }
}

.arrowLeft,
.arrowRight {
    outline: none;
    border: none;
    position: absolute;
    top: 40%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    background: rgba($color: #fff, $alpha: 0.9);
    border-radius: 50%;
    text-align: center;
}

.arrowLeft {
    left: 5px;
}

.arrowRight {
    right: 5px;
}

/* 分页和普通模版样式 */
.labourBox {
    width: 100%;
    height: 370px;
    position: relative;
    overflow: hidden;
    padding-top: 20px;

    .labourBox_content {
        width: 2470px;
        display: flex;
        height: 365px;
        transition: transform 0.8s ease;

        .labourBox_content_img {
            position: relative;
            width: 185px;
            height: 280px;
            margin-right: 25px;
            // overflow: hidden;
            border-radius: 10px;
            
            progress{
                width: 100%;
                position: absolute;
                bottom: 0px;
                left: 0;
            }

            .CreatePoster_right_layer {
                position: absolute;
                bottom: 5px;
                left: 10px;
                width: 40px;
                height: 25px;
                line-height: 25px;
                text-align: center;
                font-size: 14px;
                color: #fff;
                background: rgba($color: #201f1f, $alpha: 0.5);
            }

            &:hover .CreatePoster_right_layer {
                display: none;
            }

            .CreatePoster_right_masking {
                position: absolute;
                top: 0;
                left: 0;
                width: 185px;
                height: 280px;
                color: #918d8d;
                background: rgba($color:#636363, $alpha: 0.5);

                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 10px;
                display: none;

                p {
                    width: 75%;
                    text-align: center;
                    line-height: 40px;
                    background: #fff;
                    border-radius: 20px;
                }
            }

            &:hover .CreatePoster_right_masking {
                display: block;
                display: flex;
                align-items: center;
                justify-content: center;

            }

            progress {
                position: absolute;
                bottom: 0;
            }

            img {
                width: 185px;
                border-radius: 10px;
            }

            img:hover {
                border-radius: 10px 10px 0 0;
            }

            .labourBox_content_introduce {
                width: 100%;
                height: 50px;
                display: none;
                background: #fff;
                padding: 5px;
                box-sizing: border-box;
                border-radius: 0 0 10px 10px;
                box-shadow: 0 5px 5px rgb(199, 199, 199);
            }
        }

        .labourBox_content_img:hover {
            transition: transform 1s ease;
            transform: translateY(-10px);

            &:hover .labourBox_content_introduce {
                display: block;
            }
        }
    }

}